module.exports = {
  theme: '',
  title: '湖北师范大学科研管理系统使用手册',
  description: '湖北师范大学科研管理系统',
  base: '/docs/',
  port: '8085',
  themeConfig: {
    nav: [ // 配置顶部导航栏
      {
        text: '首页',
        link: '/',
      },
      {
        text: '用户手册',
        link: '/user/',
        items: [
          { text: '介绍', link: '/user/introduce.md'},
          { text: '首页模块', link: '/user/dashboard.md'},
          { text: '纵向项目模块', link: '/user/vertical.md'},
          { text: '横向项目模块', link: '/user/horizontal.md'},
          { text: '经费管理模块', link: '/user/funds.md'},
          { text: '成果管理模块', link: '/user/results.md'},
          { text: '学术活动模块', link: '/user/activities.md'},
          { text: '科研管理模块', link: '/user/research.md'},
          { text: '知识共享模块', link: '/user/knowledge.md'},
          { text: '学科建设模块', link: '/user/discipline.md'}
        ]
      },
      {
        text: '管理员手册',
        link: '/admin/',
        items: [
          { text: '介绍', link: '/admin/introduce.md'},
          { text: '首页模块', link: '/admin/dashboard.md'},
          { text: '纵向项目管理', link: '/admin/vertical.md'},
          { text: '横向项目管理', link: '/admin/horizontal.md'},
          { text: '经费管理管理', link: '/admin/funds.md'},
          { text: '成果管理管理', link: '/admin/results.md'},
          { text: '学术活动管理', link: '/admin/activities.md'},
          { text: '科研管理管理', link: '/admin/research.md'},
          { text: '知识共享管理', link: '/admin/knowledge.md'},
          { text: '学科建设管理', link: '/admin/discipline.md'}
        ]
      },
      {
        text: '前往系统',
        link: 'http://218.178.135.35:9528/#/login?redirect=%2Fdashboard'
      },
    ],
    sidebarDepth: 2,
    sidebar: { // 配置侧边导航栏
      '/user/': [
        '/user/introduce.md',
        '/user/dashboard.md',
        '/user/vertical.md',
        '/user/horizontal.md',
        '/user/funds.md',
        '/user/results.md',
        '/user/activities.md',
        '/user/research.md',
        '/user/knowledge.md',
        '/user/discipline.md'
      ],
      '/admin/': [
        '/admin/introduce.md',
        '/admin/dashboard.md',
        '/admin/vertical.md',
        '/admin/horizontal.md',
        '/admin/funds.md',
        '/admin/results.md',
        '/admin/activities.md',
        '/admin/research.md',
        '/admin/knowledge.md',
        '/admin/discipline.md'
      ]
    },
    // 页脚配置
    footer: {
      text: 'by 人工智能与计算机学院——人工智能NLP工作室',
      link: '/user/developers.md' 
    }
  },
  head: [],
  plugins: [
    ['@vuepress/medium-zoom', {
      selector: '.page :not(a) > img',
      options: {
        margin: 50
      }
    }],
    ['vuepress-plugin-nprogress', { hotReload: true }]
  ],
  markdown: {}
}
